﻿Imports System.ComponentModel.DataAnnotations
Imports System.Runtime.Serialization
Namespace DataContract
    <DataContract(Namespace:="PowerShellCron")>
    <KnownType(GetType(DateTimeOffset?))>
    Public Class JobHistoryInfo
        <DataMember>
        Public JobHistoryId As Int64
        <DataMember>
        Public JobId As Integer
        <DataMember>
        Public JobStart As DateTimeOffset
        <DataMember>
        Public JobStop As DateTimeOffset?
        <DataMember>
        Public User As String
        <DataMember>
        Public JobHistoryType As String
        <DataMember>
        Public WasCanceled As Boolean
    End Class
End Namespace